<?php
use think\facade\Route;

Route::post('wxLogin', 'api/WeChat/wxLogin')->name('wxLogin');//微信登录

Route::get('getSelfInfo', 'api/User/getSelfInfo')->name('getSelfInfo');//获取当前登录用户信息
Route::post('saveUser', 'api/User/saveUser')->name('saveUser');//修改当前登录用户信息

Route::get('getArticleList', 'api/Article/getList')->name('getArticleList');
Route::get('getArticleDetail', 'api/Article/getDetail')->name('getArticleDetail');

Route::get('getImpression', 'api/Impress/getInfo')->name('getImpression');

Route::get('getComprehensiveType', 'api/Comprehensive/getType')->name('getComprehensiveType');
Route::get('getComprehensiveList', 'api/Comprehensive/getList')->name('getComprehensiveList');
Route::get('getComprehensiveDetail', 'api/Comprehensive/getDetail')->name('getComprehensiveDetail');

Route::get('getFoodDetail', 'api/Comprehensive/getFoodDetail')->name('getFoodDetail');

Route::post('upload', 'api/Upload/upload')->name('upload');//修改当前登录用户信息

Route::get('getStartList', 'api/Start/getList')->name('getStartList');
Route::get('getStartDetail', 'api/Start/getDetail')->name('getStartDetail');

Route::get('getRecommendList', 'api/Home/getRecommendList')->name('getRecommendList');
Route::get('getNewsList', 'api/Home/getNewsList')->name('getNewsList');